package com.ald.crossex.dto;

/**
 * Created by lishijiong on 15/1/21.
 */
public class BaseResponse {
    /**
     * 处理结果代码，0为正常返回
     */
    public Integer resultCode;
    /**
     * 处理结果消息
     */
    public String resultMsg;

    public BaseResponse() {

        this.resultCode = 0;
        this.resultMsg = "操作成功";
    }

    public BaseResponse(Integer resultCode,String resultMsg) {
        this.resultMsg = resultMsg;
        this.resultCode = resultCode;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }
}
